﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace music_player
{
    public class XmlListProduct
    {
        public XmlListProduct() { }
        public XmlListProduct(string url, string time)
        {
            Url = url;
            Time = time;
            string strFileName = Url;
            string innerText = "";
            for (int j = 0; j < strFileName.Length; j++)
            {
                innerText += strFileName[j];
                if (strFileName[j] == '\\')
                    innerText = "";
            }
            Name = innerText;
        }


        public string Url
        { get; set; }
        public string Time
        { get; set; }

        public string Name
        { get; set; }
    }
}
